"""
@Description : 
@File        : home.py
@Project     : EasyMath
@Time        : 2020/9/2 上午11:20
@Author      : Dexter Lien
@Software    : PyCharm
"""
from flask import Blueprint, render_template

from core.helper import plus_generate

bp = Blueprint('home', __name__, url_prefix='/')


@bp.route('/')
def index():
    """
    首页
    :return:
    """
    data = plus_generate()
    return render_template('index.html', data=data)
